package com.atguigu.staservice.remoteProcedureCall;

import com.atguigu.commonutils.R;
import com.atguigu.staservice.remoteProcedureCall.RPCExceptionImpl.UcenterClientImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Component
@FeignClient(name = "service-ucenter", fallback = UcenterClientImpl.class)
public interface UcenterClient {

    //1.用户注册数





    //2.普通用户注册数
    @GetMapping("/educenter/member/countRegister/{day}")
    public R countRegister(@PathVariable("day") String day);

    //3.商家用户注册数



    //4.订单创建量


    //5.订单进行中数量


    //6.订单完成量


    //7.订单总的完成交易额


    //8.网站利润统计

}
